package com.etooling.framework.repository;


import com.etooling.framework.entity.ChineseArea;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ChineseAreaRepository extends BaseRepository<ChineseArea> {
    @Query(nativeQuery = true,value="select * from framework.t_chinese_area where pid='0'")
    List<ChineseArea> getProvinceList();
}
